﻿@model Devdream.Models.User
@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="row">
    <div class="col-md-3 col-sm-4">@Html.Partial("_Menu")</div>
    <div class="col-md-9 col-sm-8">

        <ol class="breadcrumb">
            <li><span class="glyphicon glyphicon-home"><a> 会员中心</a></span></li>
            <li><a> 个人中心</a></li>
            <li>修改资料</li>
        </ol>

        @using (Html.BeginForm("Modify", "UserManager"))
        {
            @Html.AntiForgeryToken()

            <div class="form-horizontal">
                <h4>用户资料</h4>
                <hr />
                @Html.ValidationSummary(true)
                @Html.HiddenFor(model => model.UserID)

                <div class="form-group">
                    @Html.LabelFor(model => model.UserName, new { @class = "control-label col-md-2" })
                    <div class="col-md-10">
                        @Html.DisplayFor(model => model.UserName)
                    </div>
                </div>

                <div class="form-group">
                    @Html.LabelFor(model => model.DisplayName, new { @class = "control-label col-md-2" })
                    <div class="col-md-10">
                        @Html.EditorFor(model => model.DisplayName)
                        @Html.ValidationMessageFor(model => model.DisplayName)
                    </div>
                </div>

                <div class="form-group">
                    <label class="control-label col-md-2">用户组</label>
                    <div class="col-md-10">
                        
                        
                    </div>
                </div>

                <div class="form-group">
                    @Html.LabelFor(model => model.Email, new { @class = "control-label col-md-2" })
                    <div class="col-md-10">
                        @Html.EditorFor(model => model.Email)
                        @Html.ValidationMessageFor(model => model.Email)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-offset-2 col-md-10">
                        <input type="submit" value="修改" class="btn btn-default" />
                    </div>
                </div>
            </div>
        }
    </div>
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}


